package com.tuanzi.loan.business.entity.templateConf;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "loan_api_model_type")
public class LoanApiModelTypeEntity implements Serializable {

	private static final long serialVersionUID = 4097008453374260209L;

	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	@Column(name = "type_name")
	private String typeName;

	@Column(name = "type_code")
	private String typeCode;

	@Column(name = "remark")
	private String remark;

	@Column(name = "create_time")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;

	@Column(name = "update_time")
	private Date updateTime;

}
